<?php
class AppConfig{         
    public static $dbParam = array(
        'dbHost' => 'localhost', 
        'dbUser' => 'root', 
        'dbPassword' =>'root', 
        'dbName' => 'qsf_mvc', 
        'dbCharset' => 'utf8', 
        'dbPort' => 3306, 
        'dbPrefix' => '', 
        'dbPconnect' => 0,
        'dbDebug' => true,     
    );
    
    public static $router = array(
            'news_view' => array(
                             '|news_view.html|i', 
                             array('module'=>'index','controller'=>'news','action'=>'view'),
                             array()

                       ),
            'news' => array(
                             '|news_(\w.*)?\.html|i', 
                             array('module'=>'index','controller'=>'news','action'=>'index'),
                             array('1' => 'page',)

                       ),
            'gbook' => array(
                             '|gbook.html|i', 
                             array('module'=>'index','controller'=>'gbook','action'=>'index'),
                             array()
                       ),
            'gbook_add' => array(
                             '|gbook_add.html|i', 
                             array('module'=>'index','controller'=>'gbook','action'=>'add'),
                             array()
                       ),
            'welcome' => array(
                             '|index.html\?\/(.*)\/(.*)\/|isU', 
                             array('module'=>'index','controller'=>'welcome','action'=>'index'),
                             array('1' => 'name', '2' => 'address')
                       ),
       );

     //加密串
	 public static $authKkey = '%&$%*&*(!$%&()_';

}